package cn.com.dycc.party_work.transfer.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.dycc.party_work.transfer.entity.Transfer;
import cn.com.dycc.party_work.transfer.entity.TransferInfo;
import cn.com.dycc.party_work.transfer.entity.TransferParam;
import cn.com.dycc.party_work.transfer.param.FindTransferParam;

/**
 * 
 * Description: 
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年7月9日 下午2:41:56.
 * Update Date Time: 
 * @see
 */
@Repository("transferDao")
public interface TransferDao {
	int addTransfer(TransferParam param);
	int deleteTransfer(
			@Param("org_id")String org_id,
			@Param("list")List<String> list);
	
	int updateTransfer(TransferParam param);
	
	Transfer findTransfer(String transfer_id);
	
	List<TransferInfo> findTransferByParam(FindTransferParam param);
	
	String findTransferCountByParam(FindTransferParam param);
}
